package main.java.tmi.shipment.web;

import java.sql.SQLException;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import main.java.tmi.customer.service.CustomerService;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 *  Controller
 *
 * @author min
 * @since 2010. 09. 08.
 */
@Controller
public class ShipmentController {
	
    @Resource(name = "customerServiceImpl")
    private CustomerService customerService;
    
    /**
     * The Constructor
     */
    public ShipmentController() {
        //logger = LogFactory.getLog(this.getClass());
    }

    /**
     * 
     * 
     * @param HttpServletResponse response
     * @param ModelMap model
     * @return
     * @throws SQLException
     */
    @RequestMapping("/shipment")
    public String viewList(HttpServletRequest request, HttpServletResponse response,
            ModelMap model) throws SQLException {
        System.out.println("====================================================");
        System.out.println("===============shipment start=========================");
        System.out.println("====================================================");

        return "/tmi/shipment/shipment";
    } 
    
}
